-- GENERATED SPELL FOR [Bristleback Interloper] --


function spell0_3232(pUnit, Event) --@Muscle Tear,n/a--
pUnit:FullCastSpellOnTarget(12166,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_3232', 5260, 1)
end

function Sorts_3232(pUnit, Event)
local choix_sorts_3232 = math.random(0, 0)
if choix_sorts_3232 == 0 then
pUnit:RegisterEvent('spell0_3232', 1, 1)
end
end

function mob3232_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_3232', math.random(1500, 3000), 1)
end

function mob3232_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3232_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3232_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(3232, 1, 'mob3232_Action')
RegisterUnitEvent(3232, 2, 'mob3232_Leave')
RegisterUnitEvent(3232, 3, 'mob3232_Kill')
RegisterUnitEvent(3232, 4, 'mob3232_Die')
